/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.infinityk.simplesoundengine;

/**
 *
 * @author Asier
 */
public class Log {
    private static LogSystem log = new DummyLogSystem();
    
    public static void setLogSystem(LogSystem l){
        log = l;
    }
    
    public static void info(String s){
        log.info(s);
    }
    
    public static void warn(String s){
        log.warn(s);
    }
    
    public static void error(String s){
        log.error(s);
    }
    
    public static void error(Exception s){
        log.error(s);
    }
    
    public static void error(String s, Exception e){
        log.error(s, e);
    }
}
